package com.pkk.cloud.support.oauth2.princiapl;

import com.pkk.cloud.support.oauth2.princiapl.configuration.UserPrincipalExtractorConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * @Description: 启用自定义token中用户信息信息
 * @Author: peikunkun
 * @Date: 2020/3/21 0021 下午 4:29
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(UserPrincipalExtractorConfiguration.class)
public @interface EnableOAuth2Principal {
}
